<template>
  <div class="search_slot_export">
    <el-tooltip class="item" effect="dark" content="导出表格数据" placement="bottom">
      <span class="export_icon" @click="$emit('exportTable')">
        <i class="iconfont icon-biaogedaochu"></i>
      </span>
    </el-tooltip>
  </div>
</template>

<script>
export default {
  name: 'searchSlotExport'
}
</script>

<style scoped lang="less">
  .search_slot_export{
    display: flex;
    .export_icon{
      height: 30px;
      line-height: 30px;
      width: 30px;
      text-align: center;
      margin-left: 10px;
      cursor: pointer;
      border: 1px solid @mesSearchSetIconBor;
      color: @mesSearchSetIcon;
      &:hover{
        border-color: darken(@mesSearchSetIconBor,5%);
        color: darken(@mesSearchSetIconBor,5%);
      }
      &:active{
        border-color: darken(@mesSearchSetIconBor,10%);
        color: darken(@mesSearchSetIconBor,10%);
      }
    }
  }
</style>
